<div>
<style>
body{
	overflow-x:hidden;
}
.consignee-box .consignee-radio {
    display: inline-block;
}
</style>

<div class="ui-portlet-header">
			      <span class="title">发票申请</span>            
</div>
<span style="color: green">（爱护地球、支持环保，我们建议您积累多次消费后再一起开票 ^_^）</span>
<p><br></p>
<form accept-charset="utf-8"  role="form"  class="form-horizontal" method="post" id="OrderInvoiceAddForm" action="{{$this->Html->url('/OrderInvoices/add.html')}}">
	<div class="form-group">
		<label class="col-sm-3 control-label" for="OrderInvoiceName">发票抬头：<span class="required-star">*</span></label>
		<div class="col-sm-9 controls">
			<input type="hidden" name="data[OrderInvoice][referer]" value="/order_invoices/mine">
			<input type="text"  class="form-control" id="OrderInvoiceName" required="required" value="{{$last_name}}" maxlength="250" name="data[OrderInvoice][name]">
			<small style="margin: 0;color:red;">请确保公司名字准确无误，抬头填写错误造成打印发票错误的不可重开</small>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="OrderInvoicePrice">税号：<span class="required-star">*</span></label>
		<div class="col-sm-9 controls number">
			<input type="text" id="OrderInvoiceIvcNsrcode" step="any" value="{{$last_ivc_nsrcode}}" class="form-control" name="data[OrderInvoice][ivc_nsrcode]">
			<small style="margin: 0;color:red;">国家税务规定，企业必须填写“纳税人识别号/统一社会信用代码”，发票才能入账，否则是废票。政府单位等没有税号的可填写事业法人登记证号。税号提供错误造成打印发票错误的不可重开。</small>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="OrderInvoicePrice">发票金额：<span class="required-star">*</span></label>
		<div class="col-sm-9 controls number">
			<input type="number" id="OrderInvoiceValue" step="any" value="{{$total_order_fee}}" required="required" class="form-control" name="data[OrderInvoice][invoice_value]">
		</div>
	</div>
	
	
	<div class="form-group">
		<label class="col-sm-3 control-label">开票项目：</label>
		<div class="col-sm-9 controls" style="line-height: 40px;">
			专业技术服务
		</div>
	</div>	
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="OrderInvoiceContent">发票备注：</label>
		<div class="col-sm-9 controls">
			<textarea rows="3"  class="form-control" id="OrderInvoiceContent" maxlength="250" name="data[OrderInvoice][content]">{{$last_content}}</textarea>
			<p><small>若有其它说明，请备注。</small></p>
		</div>
	</div>
	<p><br/></p>
	<div>
		{{template orders/order_consignee}}
	</div>
	
	
	<hr>
	<div class="form-group">
		<label class="col-sm-3 control-label" for="OrderInvoiceName"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
</form>

		<div class="alert alert-warning">
		<p style="font-weight:bold;">提示：</p>
			<ul>
				<li>每次发票的金额需大于50元，不足可累计开票，请合理安排周期。</li>
       			<li>发票高于300元时免邮费，低于300元时快递到付。快递费也需要发票的请备注顺丰到付，隔日达18元。没有备注默认发百世汇通到付，到付8元，百世汇通不提供发票。</li>
			</ul>
       	<p style="font-weight:bold;">重要的事情再说一遍：</p>
       		<ul>
				<li>发票金额满300元免发票快递邮费（百世快递）。</li>
			</ul>
       </div>
       
</div>